x86/mm: Make debug_{gfn, mfn, gref} calls to sharing more useful and correct
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>
Thu, 2 Feb 2012 12:23:18 +0000 (12:23 +0000)
committerAndres Lagar-Cavilla <andres@lagarcavilla.org>
Thu, 2 Feb 2012 12:23:18 +0000 (12:23 +0000)
commit1a1ebb096b838a136ebab2966244e9aed701ca68
tree32fc779d2ccb42209f5c2a8ff31ba54bcacdd111
parent7c72f35669edf57b45efbc2526236e77ce21c206
x86/mm: Make debug_{gfn, mfn, gref} calls to sharing more useful and correct

Have them used locked accesors to the gfn and the underlying shared mfn.

Have them return the number of shared refs to the underlying mfn.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/mem_sharing.c